package com.zmzncs.lmtc.module.order.dao;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zmzncs.lmtc.module.order.pojo.orderCompareResult.OrderCompareResult;
import com.zmzncs.lmtc.module.order.pojo.orderCompareResult.OrderCompareResultDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 财务-泊链对账异常结果表 Mapper 接口
 * </p>
 *
 * @author JD
 * @since 2021-04-28
 */
@Repository
@Mapper
public interface OrderCompareResultDao extends BaseMapper<OrderCompareResult> {

    /** 查询财务-泊链对账异常结果表分页数据 */
    IPage<OrderCompareResultDTO> list(Page page);

    List<OrderCompareResult> selectOrderHistoryByTradeCode(@Param("tradeNo") String tradeNo);

}
